package com.my.drinkinggame;

import com.badlogic.gdx.utils.Array;
import com.badlogic.gdx.utils.Disposable;

public class DisposableObjects {
	public static Array<Disposable> list;
	public static void initiate() {
		list = new Array<Disposable>();
	}
	public static void add(Disposable item) {
		list.add(item);
	}
	public static void dispose() {
		for (int i = 0; i < list.size;i++) {
			list.get(0).dispose();
		}
	}
	
}

